﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.master" AutoEventWireup="true" CodeFile="ChiTietVanBan.aspx.cs" Inherits="QLVB_User_ChiTietVanBan" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">

        .style24
        {
            height: 23px;
        }
        .style27
        {
            width: 150px;
        }
        .style28
        {
            width: 150px;
            height: 23px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 100%;">
        <tr>
            <td>
                <asp:GridView ID="gvChiTietVanBan" runat="server" AutoGenerateColumns="False" 
                    Width="100%" DataKeyNames="MaVanBan" CellPadding="4" ForeColor="#333333" 
                    GridLines="None" onrowdatabound="gvChiTietVanBan_RowDataBound" 
                    style="text-align: left">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <table style="width: 100%;">
                                    <tr>
                                        <td class="style27" width="120">
                                            <asp:Label ID="lblSoVanBan_" runat="server" Text="Số văn bản"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblSoVanBan" runat="server" Text='<%# Eval("SoVanBan") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style27" width="120">
                                            <asp:Label ID="lblTenVanBan_" runat="server" Text="Tên văn bản"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTenVanBan" runat="server" Text='<%# Eval("TenVanBan") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style27" width="120">
                                            <asp:Label ID="lblMaNguoiSoanThao_" runat="server" Text="Người  cập nhật VB:"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblMaNguoiSoanThao" runat="server" 
                                                Text='<%# Eval("MaNguoiSoanThao") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style27" width="120">
                                            <asp:Label ID="lblNgaySoanThao_" runat="server" Text="Ngày soạn thảo"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblNgaySoanThao" runat="server" 
                                                Text='<%# Eval("NgaySoanThao") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style27" width="120">
                                            <asp:Label ID="lblMaTinhChat_" runat="server" Text="Tính chất:"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblMaTinhChat0" runat="server" Text='<%# Eval("MaTinhChat") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style27" width="120">
                                            <asp:Label ID="lblTenDonViSoanThao_" runat="server" 
                                                Text="Tên đơn vị soạn thảo:"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTenDonViSoanThao" runat="server" 
                                                Text='<%# Eval("TenDonViSoanThao") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style28" width="120">
                                            <asp:Label ID="lblNoiDungVanBan_" runat="server" Text="Nội dung văn bản:"></asp:Label>
                                        </td>
                                        <td class="style24">
                                            <asp:Label ID="lblNoiDungVanBan" runat="server" 
                                                Text='<%# Eval("NoiDungVanBan") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style28" width="120">
                                            <asp:Label ID="lblNoiDungButPhe__" runat="server" Text="Nội dung bút phê:"></asp:Label>
                                        </td>
                                        <td class="style24">
                                            <asp:Label ID="lblNoiDungButPhe" runat="server" 
                                                Text='<%# Eval("NoiDungButPhe") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style27" width="120">
                                            <asp:Label ID="lblNoiNhan_" runat="server" Text="Nơi nhận"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblNoiNhan" runat="server" Text="Label"></asp:Label>
                                        </td>
                                    </tr>
                                    
                                    <tr>
                                        <td class="style27" width="120">
                                            <asp:Label ID="lblFileDinhKem" runat="server" Text="File đính kèm:"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:HyperLink ID="hlnkFileDinhKem" runat="server" 
                                                NavigateUrl='<%# "../VanBanLuuTru" + "/" + Eval("TenFile") %>' 
                                                Text='<%# Eval("TenFile") %>'></asp:HyperLink>
                                        </td>
                                    </tr>
                                    
                                </table>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <EditRowStyle BackColor="#2461BF" />
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#EFF3FB" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F5F7FB" />
                    <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                    <SortedDescendingCellStyle BackColor="#E9EBEF" />
                    <SortedDescendingHeaderStyle BackColor="#4870BE" />
                </asp:GridView>
            </td>
        </tr>
        </table>
</asp:Content>

